<?php

class Base {
    /**
     * 魔术函数
     * @param $name
     * @param $arguments
     * @throws Exception
     */
    public function __call($name,$arguments) {
		if(true === C('debug')) {
			echo 'not exists method:';
			echo 'the name is :';
			var_dump($name);
			echo 'the arguments is :';
			var_dump($arguments);
		}
		throw new Exception(NoClassException::NONE_EXISTS_METHOD);

	}
}